package com.guangyunl.k_abstract;
// 测试类
public class Test11 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.eat();
        dog.drink();
        System.out.println("============");

        Cat cat = new Cat();
        cat.eat();
        cat.drink();
    }
}
/*
狗啃骨头
狗喝水
============
猫吃鱼
猫喝水
 */